home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / SQL and Data Base / Logic Works ERwin 3.5 / data.1 / ERTMPL32.DLL / RCDATA / 335 < prev    next >
Unknown  |  1998-01-30  |  7.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 00 00 00 25 25 00 45 | 78 61 6d 70 6c 65 3a 0d |%...%%.E|xample:.|
|00000010| 0a 64 65 6c 65 74 65 20 | 25 25 43 68 69 6c 64 20 |.delete |%%Child |
|00000020| 66 72 6f 6d 20 25 25 43 | 68 69 6c 64 2c 64 65 6c |from %%C|hild,del|
|00000030| 65 74 65 64 0d 0a 0d 0a | 45 78 70 61 6e 73 69 6f |eted....|Expansio|
|00000040| 6e 3a 0d 0a 64 65 6c 65 | 74 65 20 25 43 68 69 6c |n:..dele|te %Chil|
|00000050| 64 20 66 72 6f 6d 20 25 | 43 68 69 6c 64 2c 64 65 |d from %|Child,de|
|00000060| 6c 65 74 65 64 00 25 25 | 00 4c 6f 6f 6b 75 70 00 |leted.%%|.Lookup.|
|00000070| 01 00 25 4c 6f 6f 6b 75 | 70 28 3c 66 69 6c 65 6e |..%Looku|p(<filen|
|00000080| 61 6d 65 3e 2c 3c 65 78 | 70 72 3e 29 00 52 65 61 |ame>,<ex|pr>).Rea|
|00000090| 64 73 20 61 20 6c 6f 6f | 6b 75 70 20 74 61 62 6c |ds a loo|kup tabl|
|000000a0| 65 20 66 72 6f 6d 20 74 | 68 65 20 66 69 6c 65 20 |e from t|he file |
|000000b0| 3c 66 69 6c 65 6e 61 6d | 65 3e 2e 20 20 54 68 65 |<filenam|e>. The|
|000000c0| 20 66 69 6c 65 20 6d 75 | 73 74 20 63 6f 6e 74 61 | file mu|st conta|
|000000d0| 69 6e 20 74 77 6f 20 63 | 6f 6c 75 6d 6e 73 20 2d |in two c|olumns -|
|000000e0| 20 74 68 65 20 66 69 72 | 73 74 20 63 6f 6e 74 61 | the fir|st conta|
|000000f0| 69 6e 69 6e 67 20 61 20 | 70 61 74 74 65 72 6e 20 |ining a |pattern |
|00000100| 73 74 72 69 6e 67 20 61 | 6e 64 20 74 68 65 20 73 |string a|nd the s|
|00000110| 65 63 6f 6e 64 20 63 6f | 6e 74 61 69 6e 69 6e 67 |econd co|ntaining|
|00000120| 20 61 20 73 74 72 69 6e | 67 20 74 6f 20 73 75 62 | a strin|g to sub|
|00000130| 73 74 69 74 75 74 65 20 | 66 6f 72 20 74 68 65 20 |stitute |for the |
|00000140| 70 61 74 74 65 72 6e 2e | 0d 0a 0d 0a 54 68 65 20 |pattern.|....The |
|00000150| 66 69 72 73 74 20 61 6e | 64 20 73 65 63 6f 6e 64 |first an|d second|
|00000160| 20 63 6f 6c 75 6d 6e 73 | 20 61 72 65 20 64 65 6c | columns| are del|
|00000170| 69 6d 69 74 65 64 20 62 | 79 20 61 20 63 6f 6d 6d |imited b|y a comm|
|00000180| 61 20 61 6e 64 20 74 68 | 65 20 73 65 63 6f 6e 64 |a and th|e second|
|00000190| 20 63 6f 6c 75 6d 6e 20 | 69 73 20 65 6e 64 65 64 | column |is ended|
|000001a0| 20 62 79 20 61 20 63 61 | 72 72 69 61 67 65 20 72 | by a ca|rriage r|
|000001b0| 65 74 75 72 6e 2e 20 20 | 54 68 69 73 20 6d 61 63 |eturn. |This mac|
|000001c0| 72 6f 20 74 68 65 6e 20 | 67 6f 65 73 20 74 68 72 |ro then |goes thr|
|000001d0| 6f 75 67 68 20 65 61 63 | 68 20 72 6f 77 20 6f 66 |ough eac|h row of|
|000001e0| 20 74 68 65 20 6c 6f 6f | 6b 75 70 20 74 61 62 6c | the loo|kup tabl|
|000001f0| 65 20 61 6e 64 20 72 65 | 70 6c 61 63 65 73 20 65 |e and re|places e|
|00000200| 61 63 68 20 6f 63 63 75 | 72 72 65 6e 63 65 20 6f |ach occu|rrence o|
|00000210| 66 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 77 69 |f the pa|ttern wi|
|00000220| 74 68 20 74 68 65 20 73 | 75 62 73 74 69 74 75 74 |th the s|ubstitut|
|00000230| 65 20 76 61 6c 75 65 2e | 0d 0a 0d 0a 42 61 73 69 |e value.|....Basi|
|00000240| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 4c 6f 6f 6b |c Syntax|:..%Look|
|00000250| 75 70 28 3c 66 69 6c 65 | 6e 61 6d 65 3e 2c 3c 65 |up(<file|name>,<e|
|00000260| 78 70 72 3e 29 0d 0a 00 | 25 4c 6f 6f 6b 75 70 28 |xpr>)...|%Lookup(|
|00000270| 3c 66 69 6c 65 6e 61 6d | 65 3e 2c 3c 65 78 70 72 |<filenam|e>,<expr|
|00000280| 3e 29 00 41 74 74 4e 61 | 6d 65 00 02 00 25 41 74 |>).AttNa|me...%At|
|00000290| 74 4e 61 6d 65 00 42 61 | 73 69 63 20 53 79 6e 74 |tName.Ba|sic Synt|
|000002a0| 61 78 3a 0d 0a 25 41 74 | 74 4e 61 6d 65 0d 0a 0d |ax:..%At|tName...|
|000002b0| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 20 45 78 |.Basic S|yntax Ex|
|000002c0| 61 6d 70 6c 65 3a 0d 0a | 25 46 6f 72 45 61 63 68 |ample:..|%ForEach|
|000002d0| 41 74 74 28 29 20 7b 0d | 0a 20 20 20 20 25 41 74 |Att() {.|. %At|
|000002e0| 74 4e 61 6d 65 0d 0a 7d | 0d 0a 0d 0a 45 78 70 61 |tName..}|....Expa|
|000002f0| 6e 73 69 6f 6e 3a 0d 0a | 6d 61 73 74 65 72 2d 6e |nsion:..|master-n|
|00000300| 75 6d 62 65 72 0d 0a 6d | 6f 76 69 65 2d 63 6f 70 |umber..m|ovie-cop|
|00000310| 79 2d 6e 75 6d 62 65 72 | 0d 0a 67 65 6e 65 72 61 |y-number|..genera|
|00000320| 6c 2d 63 6f 6e 64 69 74 | 69 6f 6e 0d 0a 00 25 41 |l-condit|ion...%A|
|00000330| 74 74 4e 61 6d 65 00 50 | 61 72 65 6e 74 41 74 74 |ttName.P|arentAtt|
|00000340| 73 00 03 00 25 50 61 72 | 65 6e 74 41 74 74 73 28 |s...%Par|entAtts(|
|00000350| 29 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |).Basic |Syntax:.|
|00000360| 0a 25 50 61 72 65 6e 74 | 41 74 74 73 28 29 0d 0a |.%Parent|Atts()..|
|00000370| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000380| 78 61 6d 70 6c 65 3a 0d | 0a 25 50 61 72 65 6e 74 |xample:.|.%Parent|
|00000390| 41 74 74 73 28 29 0d 0a | 45 78 70 61 6e 73 69 6f |Atts()..|Expansio|
|000003a0| 6e 3a 0d 0a 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |n:..mast|er_numbe|
|000003b0| 72 2c 20 6d 6f 76 69 65 | 5f 63 6f 70 79 5f 6e 75 |r, movie|_copy_nu|
|000003c0| 6d 62 65 72 2c 20 67 65 | 6e 65 72 61 6c 5f 63 6f |mber, ge|neral_co|
|000003d0| 6e 64 69 74 69 6f 6e 0d | 0a 0d 0a 46 75 6c 6c 20 |ndition.|...Full |
|000003e0| 53 79 6e 74 61 78 3a 0d | 0a 25 50 61 72 65 6e 74 |Syntax:.|.%Parent|
|000003f0| 41 74 74 73 28 3c 73 65 | 70 61 72 61 74 6f 72 3e |Atts(<se|parator>|
|00000400| 2c 3c 66 75 6e 63 74 69 | 6f 6e 3e 2c 3c 70 72 65 |,<functi|on>,<pre|
|00000410| 66 69 78 3e 29 0d 0a 0d | 0a 46 75 6c 6c 20 53 79 |fix>)...|.Full Sy|
|00000420| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|00000430| 50 61 72 65 6e 74 41 74 | 74 73 28 22 20 6f 72 20 |ParentAt|ts(" or |
|00000440| 22 2c 75 70 64 61 74 65 | 2c 25 50 61 72 65 6e 74 |",update|,%Parent|
|00000450| 29 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 75 |)..Expan|sion:..u|
|00000460| 70 64 61 74 65 28 4d 4f | 56 49 45 5f 43 4f 50 59 |pdate(MO|VIE_COPY|
|00000470| 2e 6d 61 73 74 65 72 5f | 6e 75 6d 62 65 72 29 20 |.master_|number) |
|00000480| 6f 72 0d 0a 75 70 64 61 | 74 65 28 4d 4f 56 49 45 |or..upda|te(MOVIE|
|00000490| 5f 43 4f 50 59 2e 6d 6f | 76 69 65 5f 63 6f 70 79 |_COPY.mo|vie_copy|
|000004a0| 5f 6e 75 6d 62 65 72 29 | 20 6f 72 20 75 70 64 61 |_number)| or upda|
|000004b0| 74 65 28 4d 4f 56 49 45 | 5f 43 4f 50 59 2e 67 65 |te(MOVIE|_COPY.ge|
|000004c0| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 29 |neral_co|ndition)|
|000004d0| 00 25 50 61 72 65 6e 74 | 41 74 74 73 28 22 2c 20 |.%Parent|Atts(", |
|000004e0| 22 2c 2c 40 69 6e 73 29 | 00 50 61 72 65 6e 74 41 |",,@ins)|.ParentA|
|000004f0| 74 74 00 04 00 25 50 61 | 72 65 6e 74 41 74 74 28 |tt...%Pa|rentAtt(|
|00000500| 29 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |).Basic |Syntax:.|
|00000510| 0a 25 50 61 72 65 6e 74 | 41 74 74 28 3c 61 74 74 |.%Parent|Att(<att|
|00000520| 72 69 62 75 74 65 20 6d | 61 63 72 6f 3e 29 0d 0a |ribute m|acro>)..|
|00000530| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000540| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|00000550| 68 46 4b 41 74 74 28 29 | 20 7b 25 50 61 72 65 6e |hFKAtt()| {%Paren|
|00000560| 74 41 74 74 28 25 41 74 | 74 46 69 65 6c 64 4e 61 |tAtt(%At|tFieldNa|
|00000570| 6d 65 29 7d 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |me)}..Ex|pansion:|
|00000580| 0d 0a 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 2c |..master|_number,|
|00000590| 20 6d 6f 76 69 65 5f 63 | 6f 70 79 5f 6e 75 6d 62 | movie_c|opy_numb|
|000005a0| 65 72 00 25 50 61 72 65 | 6e 74 41 74 74 28 25 41 |er.%Pare|ntAtt(%A|
|000005b0| 74 74 46 69 65 6c 64 4e | 61 6d 65 29 00 50 61 72 |ttFieldN|ame).Par|
|000005c0| 65 6e 74 50 4b 44 65 63 | 6c 00 05 00 25 50 61 72 |entPKDec|l...%Par|
|000005d0| 65 6e 74 50 4b 44 65 63 | 6c 28 29 00 42 61 73 69 |entPKDec|l().Basi|
|000005e0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 50 61 72 65 |c Syntax|:..%Pare|
|000005f0| 6e 74 50 4b 44 65 63 6c | 28 3c 6f 6c 64 20 70 72 |ntPKDecl|(<old pr|
|00000600| 65 66 69 78 3e 2c 3c 6e | 65 77 20 70 72 65 66 69 |efix>,<n|ew prefi|
|00000610| 78 3e 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |x>)....B|asic Syn|
|00000620| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00000630| 61 72 65 6e 74 50 4b 44 | 65 63 6c 28 2c 40 69 6e |arentPKD|ecl(,@in|
|00000640| 73 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |s)..Expa|nsion:..|
|00000650| 40 69 6e 73 5f 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |@ins_mas|ter_numb|
|00000660| 65 72 20 69 6e 74 2c 0d | 0a 40 69 6e 73 5f 6d 6f |er int,.|.@ins_mo|
|00000670| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 20 |vie_copy|_number |
|00000680| 69 6e 74 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |int....F|ull Synt|
|00000690| 61 78 3a 0d 0a 25 50 61 | 72 65 6e 74 50 4b 44 65 |ax:..%Pa|rentPKDe|
|000006a0| 63 6c 28 3c 6f 6c 64 20 | 70 72 65 66 69 78 3e 2c |cl(<old |prefix>,|
|000006b0| 3c 6e 65 77 20 70 72 65 | 66 69 78 3e 2c 3c 73 65 |<new pre|fix>,<se|
|000006c0| 70 61 72 61 74 6f 72 3e | 29 0d 0a 0d 0a 46 75 6c |parator>|)....Ful|
|000006d0| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|000006e0| 3a 0d 0a 25 50 61 72 65 | 6e 74 50 4b 44 65 63 6c |:..%Pare|ntPKDecl|
|000006f0| 28 2c 40 69 6e 73 2c 22 | 2c 20 22 29 0d 0a 45 78 |(,@ins,"|, ")..Ex|
|00000700| 70 61 6e 73 69 6f 6e 3a | 0d 0a 40 69 6e 73 5f 6d |pansion:|..@ins_m|
|00000710| 61 73 74 65 72 5f 6e 75 | 6d 62 65 72 20 69 6e 74 |aster_nu|mber int|
|00000720| 2c 0d 0a 40 69 6e 73 5f | 6d 6f 76 69 65 5f 63 6f |,..@ins_|movie_co|
|00000730| 70 79 5f 6e 75 6d 62 65 | 72 20 69 6e 74 00 25 50 |py_numbe|r int.%P|
|00000740| 61 72 65 6e 74 50 4b 44 | 65 63 6c 28 2c 40 69 6e |arentPKD|ecl(,@in|
|00000750| 73 29 00 50 61 72 65 6e | 74 50 4b 00 06 00 25 50 |s).Paren|tPK...%P|
|00000760| 61 72 65 6e 74 50 4b 28 | 29 00 42 61 73 69 63 20 |arentPK(|).Basic |
|00000770| 53 79 6e 74 61 78 3a 0d | 0a 25 50 61 72 65 6e 74 |Syntax:.|.%Parent|
|00000780| 50 4b 28 29 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |PK()....|Basic Sy|
|00000790| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|000007a0| 50 61 72 65 6e 74 50 4b | 28 29 0d 0a 45 78 70 61 |ParentPK|()..Expa|
|000007b0| 6e 73 69 6f 6e 3a 0d 0a | 6d 61 73 74 65 72 5f 6e |nsion:..|master_n|
|000007c0| 75 6d 62 65 72 2c 20 6d | 6f 76 69 65 5f 63 6f 70 |umber, m|ovie_cop|
|000007d0| 79 5f 6e 75 6d 62 65 72 | 2c 2e 2e 2e 0d 0a 0d 0a |y_number|,.......|
|000007e0| 46 75 6c 6c 20 53 79 6e | 74 61 78 3a 0d 0a 25 50 |Full Syn|tax:..%P|
|000007f0| 61 72 65 6e 74 50 4b 28 | 3c 73 65 70 61 72 61 74 |arentPK(|<separat|
|00000800| 6f 72 3e 2c 3c 66 75 6e | 63 74 69 6f 6e 3e 2c 3c |or>,<fun|ction>,<|
|00000810| 70 72 65 66 69 78 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |prefix>)|....Full|
|00000820| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000830| 0d 0a 25 50 61 72 65 6e | 74 50 4b 28 22 20 6f 72 |..%Paren|tPK(" or|
|00000840| 20 22 2c 75 70 64 61 74 | 65 2c 25 50 61 72 65 6e | ",updat|e,%Paren|
|00000850| 74 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |t)..Expa|nsion:..|
|00000860| 75 70 64 61 74 65 28 4d | 4f 56 49 45 5f 43 4f 50 |update(M|OVIE_COP|
|00000870| 59 2e 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 29 |Y.master|_number)|
|00000880| 20 6f 72 0d 0a 75 70 64 | 61 74 65 28 4d 4f 56 49 | or..upd|ate(MOVI|
|00000890| 45 5f 43 4f 50 59 2c 6d | 6f 76 69 65 5f 63 6f 70 |E_COPY,m|ovie_cop|
|000008a0| 79 5f 6e 75 6d 62 65 72 | 29 2e 2e 2e 00 25 50 61 |y_number|)....%Pa|
|000008b0| 72 65 6e 74 50 4b 28 22 | 20 6f 72 20 22 2c 75 70 |rentPK("| or ",up|
|000008c0| 64 61 74 65 29 00 50 61 | 72 65 6e 74 4e 4b 44 65 |date).Pa|rentNKDe|
|000008d0| 63 6c 00 07 00 25 50 61 | 72 65 6e 74 4e 4b 44 65 |cl...%Pa|rentNKDe|
|000008e0| 63 6c 28 29 00 42 61 73 | 69 63 20 53 79 6e 74 61 |cl().Bas|ic Synta|
|000008f0| 78 3a 0d 0a 25 50 61 72 | 65 6e 74 4e 4b 44 65 63 |x:..%Par|entNKDec|
|00000900| 6c 28 3c 6f 6c 64 20 70 | 72 65 66 69 78 3e 2c 3c |l(<old p|refix>,<|
|00000910| 6e 65 77 20 70 72 65 66 | 69 78 3e 29 0d 0a 0d 0a |new pref|ix>)....|
|00000920| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|00000930| 6d 70 6c 65 3a 0d 0a 25 | 50 61 72 65 6e 74 4e 4b |mple:..%|ParentNK|
|00000940| 44 65 63 6c 28 2c 40 69 | 6e 73 29 0d 0a 45 78 70 |Decl(,@i|ns)..Exp|
|00000950| 61 6e 73 69 6f 6e 3a 0d | 0a 40 69 6e 73 5f 67 65 |ansion:.|.@ins_ge|
|00000960| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 20 |neral_co|ndition |
|00000970| 76 61 72 63 68 61 72 28 | 31 30 29 0d 0a 46 75 6c |varchar(|10)..Ful|
|00000980| 6c 20 53 79 6e 74 61 78 | 3a 0d 0a 25 50 61 72 65 |l Syntax|:..%Pare|
|00000990| 6e 74 4e 4b 44 65 63 6c | 28 3c 6f 6c 64 20 70 72 |ntNKDecl|(<old pr|
|000009a0| 65 66 69 78 3e 2c 3c 6e | 65 77 20 70 72 65 66 69 |efix>,<n|ew prefi|
|000009b0| 78 3e 2c 3c 73 65 70 61 | 72 61 74 6f 72 3e 29 0d |x>,<sepa|rator>).|
|000009c0| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 20 45 |...Full |Syntax E|
|000009d0| 78 61 6d 70 6c 65 3a 0d | 0a 25 50 61 72 65 6e 74 |xample:.|.%Parent|
|000009e0| 4e 4b 44 65 63 6c 28 2c | 40 69 6e 73 2c 22 2c 20 |NKDecl(,|@ins,", |
|000009f0| 22 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |")..Expa|nsion:..|
|00000a00| 40 69 6e 73 5f 67 65 6e | 65 72 61 6c 5f 63 6f 6e |@ins_gen|eral_con|
|00000a10| 64 69 74 69 6f 6e 20 76 | 61 72 63 68 61 72 28 31 |dition v|archar(1|
|00000a20| 30 29 00 25 50 61 72 65 | 6e 74 4e 4b 44 65 63 6c |0).%Pare|ntNKDecl|
|00000a30| 28 2c 40 69 6e 73 29 00 | 50 61 72 65 6e 74 4e 4b |(,@ins).|ParentNK|
|00000a40| 00 08 00 25 50 61 72 65 | 6e 74 4e 4b 28 29 00 42 |...%Pare|ntNK().B|
|00000a50| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 50 |asic Syn|tax:..%P|
|00000a60| 61 72 65 6e 74 4e 4b 28 | 29 0d 0a 0d 0a 42 61 73 |arentNK(|)....Bas|
|00000a70| 69 63 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ic Synta|x Exampl|
|00000a80| 65 3a 0d 0a 25 50 61 72 | 65 6e 74 4e 4b 28 29 0d |e:..%Par|entNK().|
|00000a90| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 67 65 6e |.Expansi|on:..gen|
|00000aa0| 65 72 61 6c 5f 63 6f 6e | 64 69 74 69 6f 6e 0d 0a |eral_con|dition..|
|00000ab0| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 3a 0d 0a |..Full S|yntax:..|
|00000ac0| 25 50 61 72 65 6e 74 4e | 4b 28 3c 73 65 70 61 72 |%ParentN|K(<separ|
|00000ad0| 61 74 6f 72 3e 2c 3c 66 | 75 6e 63 74 69 6f 6e 3e |ator>,<f|unction>|
|00000ae0| 2c 3c 70 72 65 66 69 78 | 3e 29 0d 0a 0d 0a 46 75 |,<prefix|>)....Fu|
|00000af0| 6c 6c 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ll Synta|x Exampl|
|00000b00| 65 3a 0d 0a 25 50 61 72 | 65 6e 74 4e 4b 28 22 20 |e:..%Par|entNK(" |
|00000b10| 6f 72 20 22 2c 75 70 64 | 61 74 65 2c 25 50 61 72 |or ",upd|ate,%Par|
|00000b20| 65 6e 74 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |ent)..Ex|pansion:|
|00000b30| 0d 0a 75 70 64 61 74 65 | 28 4d 4f 56 49 45 5f 43 |..update|(MOVIE_C|
|00000b40| 4f 50 59 2e 67 65 6e 65 | 72 61 6c 5f 63 6f 6e 64 |OPY.gene|ral_cond|
|00000b50| 69 74 69 6f 6e 29 00 25 | 50 61 72 65 6e 74 4e 4b |ition).%|ParentNK|
|00000b60| 28 29 00 43 68 69 6c 64 | 50 4b 44 65 63 6c 00 09 |().Child|PKDecl..|
|00000b70| 00 25 43 68 69 6c 64 50 | 4b 44 65 63 6c 28 29 00 |.%ChildP|KDecl().|
|00000b80| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00000b90| 43 68 69 6c 64 50 4b 44 | 65 63 6c 28 3c 6f 6c 64 |ChildPKD|ecl(<old|
|00000ba0| 20 70 72 65 66 69 78 3e | 2c 3c 6e 65 77 20 70 72 | prefix>|,<new pr|
|00000bb0| 65 66 69 78 3e 29 0d 0a | 0d 0a 42 61 73 69 63 20 |efix>)..|..Basic |
|00000bc0| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000bd0| 0a 25 43 68 69 6c 64 50 | 4b 44 65 63 6c 28 2c 40 |.%ChildP|KDecl(,@|
|00000be0| 69 6e 73 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |ins)..Ex|pansion:|
|00000bf0| 0d 0a 40 69 6e 73 5f 72 | 65 6e 74 69 6e 67 5f 63 |..@ins_r|enting_c|
|00000c00| 75 73 74 6f 6d 65 72 20 | 69 6e 74 2c 0d 0a 40 69 |ustomer |int,..@i|
|00000c10| 6e 73 5f 6d 61 73 74 65 | 72 5f 6e 75 6d 62 65 72 |ns_maste|r_number|
|00000c20| 20 69 6e 74 2c 0d 0a 40 | 69 6e 73 5f 6d 6f 76 69 | int,..@|ins_movi|
|00000c30| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 20 69 6e |e_copy_n|umber in|
|00000c40| 74 2c 0d 0a 40 69 6e 73 | 5f 72 65 6e 74 61 6c 5f |t,..@ins|_rental_|
|00000c50| 72 65 63 6f 72 64 5f 64 | 61 74 65 20 64 61 74 65 |record_d|ate date|
|00000c60| 74 69 6d 65 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |time....|Full Syn|
|00000c70| 74 61 78 3a 0d 0a 25 43 | 68 69 6c 64 50 4b 44 65 |tax:..%C|hildPKDe|
|00000c80| 63 6c 28 3c 6f 6c 64 20 | 70 72 65 66 69 78 3e 2c |cl(<old |prefix>,|
|00000c90| 3c 6e 65 77 20 70 72 65 | 66 69 78 3e 2c 3c 73 65 |<new pre|fix>,<se|
|00000ca0| 70 61 72 61 74 6f 72 3e | 29 0d 0a 0d 0a 46 75 6c |parator>|)....Ful|
|00000cb0| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|00000cc0| 3a 0d 0a 25 43 68 69 6c | 64 50 4b 44 65 63 6c 28 |:..%Chil|dPKDecl(|
|00000cd0| 2c 40 69 6e 73 2c 22 2c | 20 22 29 0d 0a 45 78 70 |,@ins,",| ")..Exp|
|00000ce0| 61 6e 73 69 6f 6e 3a 0d | 0a 40 69 6e 73 5f 72 65 |ansion:.|.@ins_re|
|00000cf0| 6e 74 69 6e 67 5f 63 75 | 73 74 6f 6d 65 72 20 69 |nting_cu|stomer i|
|00000d00| 6e 74 2c 0d 0a 40 69 6e | 73 5f 6d 61 73 74 65 72 |nt,..@in|s_master|
|00000d10| 5f 6e 75 6d 62 65 72 20 | 69 6e 74 2c 0d 0a 40 69 |_number |int,..@i|
|00000d20| 6e 73 5f 6d 6f 76 69 65 | 5f 63 6f 70 79 5f 6e 75 |ns_movie|_copy_nu|
|00000d30| 6d 62 65 72 20 69 6e 74 | 2c 0d 0a 40 69 6e 73 5f |mber int|,..@ins_|
|00000d40| 72 65 6e 74 61 6c 5f 72 | 65 63 6f 72 64 5f 64 61 |rental_r|ecord_da|
|00000d50| 74 65 20 64 61 74 65 74 | 69 6d 65 0d 0a 00 25 43 |te datet|ime...%C|
|00000d60| 68 69 6c 64 50 4b 44 65 | 63 6c 28 40 64 65 6c 2c |hildPKDe|cl(@del,|
|00000d70| 40 69 6e 73 29 00 43 68 | 69 6c 64 50 4b 00 0a 00 |@ins).Ch|ildPK...|
|00000d80| 25 43 68 69 6c 64 50 4b | 28 29 00 42 61 73 69 63 |%ChildPK|().Basic|
|00000d90| 20 53 79 6e 74 61 78 3a | 0d 0a 25 43 68 69 6c 64 | Syntax:|..%Child|
|00000da0| 50 4b 28 29 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |PK()....|Basic Sy|
|00000db0| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|00000dc0| 43 68 69 6c 64 50 4b 28 | 29 0d 0a 45 78 70 61 6e |ChildPK(|)..Expan|
|00000dd0| 73 69 6f 6e 3a 0d 0a 72 | 65 6e 74 69 6e 67 5f 63 |sion:..r|enting_c|
|00000de0| 75 73 74 6f 6d 65 72 2c | 20 6d 61 73 74 65 72 5f |ustomer,| master_|
|00000df0| 6e 75 6d 62 65 72 2c 20 | 6d 6f 76 69 65 5f 63 6f |number, |movie_co|
|00000e00| 70 79 5f 6e 75 6d 62 65 | 72 2c 20 72 65 6e 74 61 |py_numbe|r, renta|
|00000e10| 6c 5f 72 65 63 6f 72 64 | 5f 64 61 74 65 0d 0a 0d |l_record|_date...|
|00000e20| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |.Full Sy|ntax:..%|
|00000e30| 43 68 69 6c 64 50 4b 28 | 3c 73 65 70 61 72 61 74 |ChildPK(|<separat|
|00000e40| 6f 72 3e 2c 3c 66 75 6e | 63 74 69 6f 6e 3e 2c 3c |or>,<fun|ction>,<|
|00000e50| 70 72 65 66 69 78 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |prefix>)|....Full|
|00000e60| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000e70| 0d 0a 25 43 68 69 6c 64 | 50 4b 28 22 20 6f 72 20 |..%Child|PK(" or |
|00000e80| 22 2c 75 70 64 61 74 65 | 2c 25 43 68 69 6c 64 29 |",update|,%Child)|
|00000e90| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 75 70 |..Expans|ion:..up|
|00000ea0| 64 61 74 65 28 4d 4f 56 | 49 45 5f 52 45 4e 54 41 |date(MOV|IE_RENTA|
|00000eb0| 4c 5f 52 45 43 4f 52 2e | 72 65 6e 74 69 6e 67 5f |L_RECOR.|renting_|
|00000ec0| 63 75 73 74 6f 6d 65 72 | 29 20 6f 72 0d 0a 75 70 |customer|) or..up|
|00000ed0| 64 61 74 65 28 4d 4f 56 | 49 45 5f 52 45 4e 54 41 |date(MOV|IE_RENTA|
|00000ee0| 4c 5f 52 45 43 4f 52 2e | 6d 61 73 74 65 72 5f 6e |L_RECOR.|master_n|
|00000ef0| 75 6d 62 65 72 29 20 6f | 72 0d 0a 75 70 64 61 74 |umber) o|r..updat|
|00000f00| 65 28 4d 4f 56 49 45 5f | 52 45 4e 54 41 4c 5f 52 |e(MOVIE_|RENTAL_R|
|00000f10| 45 43 4f 52 2e 6d 6f 76 | 69 65 5f 63 6f 70 79 5f |ECOR.mov|ie_copy_|
|00000f20| 6e 75 6d 62 65 72 29 20 | 6f 72 0d 0a 75 70 64 61 |number) |or..upda|
|00000f30| 74 65 28 4d 4f 56 49 45 | 5f 52 45 4e 54 41 4c 5f |te(MOVIE|_RENTAL_|
|00000f40| 52 45 43 4f 52 2e 72 65 | 6e 74 61 6c 5f 72 65 63 |RECOR.re|ntal_rec|
|00000f50| 6f 72 64 5f 64 61 74 65 | 29 00 25 43 68 69 6c 64 |ord_date|).%Child|
|00000f60| 50 4b 28 22 20 6f 72 20 | 22 2c 75 70 64 61 74 65 |PK(" or |",update|
|00000f70| 29 00 43 68 69 6c 64 46 | 4b 44 65 63 6c 00 0b 00 |).ChildF|KDecl...|
|00000f80| 25 43 68 69 6c 64 46 4b | 44 65 63 6c 28 29 00 42 |%ChildFK|Decl().B|
|00000f90| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 43 |asic Syn|tax:..%C|
|00000fa0| 68 69 6c 64 46 4b 44 65 | 63 6c 28 3c 6f 6c 64 20 |hildFKDe|cl(<old |
|00000fb0| 70 72 65 66 69 78 3e 2c | 3c 6e 65 77 20 70 72 65 |prefix>,|<new pre|
|00000fc0| 66 69 78 3e 29 0d 0a 0d | 0a 42 61 73 69 63 20 53 |fix>)...|.Basic S|
|00000fd0| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000fe0| 25 43 68 69 6c 64 46 4b | 44 65 63 6c 28 2c 40 69 |%ChildFK|Decl(,@i|
|00000ff0| 6e 73 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |ns)..Exp|ansion:.|
|00001000| 0a 40 69 6e 73 5f 6d 61 | 73 74 65 72 5f 6e 75 6d |.@ins_ma|ster_num|
|00001010| 62 65 72 20 69 6e 74 2c | 0d 0a 40 69 6e 73 5f 6d |ber int,|..@ins_m|
|00001020| 6f 76 69 65 5f 63 6f 70 | 79 5f 6e 75 6d 62 65 72 |ovie_cop|y_number|
|00001030| 20 69 6e 74 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e | int....|Full Syn|
|00001040| 74 61 78 3a 0d 0a 25 43 | 68 69 6c 64 46 4b 44 65 |tax:..%C|hildFKDe|
|00001050| 63 6c 28 3c 6f 6c 64 20 | 70 72 65 66 69 78 3e 2c |cl(<old |prefix>,|
|00001060| 3c 6e 65 77 20 70 72 65 | 66 69 78 3e 2c 3c 73 65 |<new pre|fix>,<se|
|00001070| 70 61 72 61 74 6f 72 3e | 29 0d 0a 0d 0a 46 75 6c |parator>|)....Ful|
|00001080| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|00001090| 3a 0d 0a 25 43 68 69 6c | 64 46 4b 44 65 63 6c 28 |:..%Chil|dFKDecl(|
|000010a0| 2c 40 69 6e 73 2c 22 2c | 20 22 29 0d 0a 45 78 70 |,@ins,",| ")..Exp|
|000010b0| 61 6e 73 69 6f 6e 3a 0d | 0a 40 69 6e 73 5f 6d 61 |ansion:.|.@ins_ma|
|000010c0| 73 74 65 72 5f 6e 75 6d | 62 65 72 20 69 6e 74 2c |ster_num|ber int,|
|000010d0| 0d 0a 40 69 6e 73 5f 6d | 6f 76 69 65 5f 63 6f 70 |..@ins_m|ovie_cop|
|000010e0| 79 5f 6e 75 6d 62 65 72 | 20 69 6e 74 00 25 43 68 |y_number| int.%Ch|
|000010f0| 69 6c 64 46 4b 44 65 63 | 6c 28 2c 40 69 6e 73 29 |ildFKDec|l(,@ins)|
|00001100| 00 43 68 69 6c 64 46 4b | 00 0c 00 25 43 68 69 6c |.ChildFK|...%Chil|
|00001110| 64 46 4b 28 29 00 42 61 | 73 69 63 20 53 79 6e 74 |dFK().Ba|sic Synt|
|00001120| 61 78 3a 0d 0a 25 43 68 | 69 6c 64 46 4b 28 29 0d |ax:..%Ch|ildFK().|
|00001130| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00001140| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|00001150| 46 4b 28 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |FK()..Ex|pansion:|
|00001160| 0d 0a 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 2c |..master|_number,|
|00001170| 20 6d 6f 76 69 65 5f 63 | 6f 70 79 5f 6e 75 6d 62 | movie_c|opy_numb|
|00001180| 65 72 2c 2e 2e 2e 0d 0a | 0d 0a 46 75 6c 6c 20 53 |er,.....|..Full S|
|00001190| 79 6e 74 61 78 3a 0d 0a | 25 43 68 69 6c 64 46 4b |yntax:..|%ChildFK|
|000011a0| 28 3c 73 65 70 61 72 61 | 74 6f 72 3e 2c 3c 66 75 |(<separa|tor>,<fu|
|000011b0| 6e 63 74 69 6f 6e 3e 2c | 3c 70 72 65 66 69 78 3e |nction>,|<prefix>|
|000011c0| 29 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |)....Ful|l Syntax|
|000011d0| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 43 68 69 6c | Example|:..%Chil|
|000011e0| 64 46 4b 28 22 20 6f 72 | 20 22 2c 75 70 64 61 74 |dFK(" or| ",updat|
|000011f0| 65 2c 25 43 68 69 6c 64 | 29 0d 0a 45 78 70 61 6e |e,%Child|)..Expan|
|00001200| 73 69 6f 6e 3a 0d 0a 75 | 70 64 61 74 65 28 4d 4f |sion:..u|pdate(MO|
|00001210| 56 49 45 5f 52 45 4e 54 | 41 4c 5f 52 45 43 4f 52 |VIE_RENT|AL_RECOR|
|00001220| 2e 6d 61 73 74 65 72 5f | 6e 75 6d 62 65 72 29 20 |.master_|number) |
|00001230| 6f 72 0d 0a 75 70 64 61 | 74 65 28 4d 4f 56 49 45 |or..upda|te(MOVIE|
|00001240| 5f 52 45 4e 54 41 4c 5f | 52 45 43 4f 52 2e 6d 6f |_RENTAL_|RECOR.mo|
|00001250| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 29 |vie_copy|_number)|
|00001260| 2e 2e 2e 00 25 43 68 69 | 6c 64 46 4b 28 22 20 6f |....%Chi|ldFK(" o|
|00001270| 72 20 22 2c 75 70 64 61 | 74 65 29 00 43 68 69 6c |r ",upda|te).Chil|
|00001280| 64 4e 4b 44 65 63 6c 00 | 0d 00 25 43 68 69 6c 64 |dNKDecl.|..%Child|
|00001290| 4e 4b 44 65 63 6c 28 29 | 00 42 61 73 69 63 20 53 |NKDecl()|.Basic S|
|000012a0| 79 6e 74 61 78 3a 0d 0a | 25 43 68 69 6c 64 4e 4b |yntax:..|%ChildNK|
|000012b0| 44 65 63 6c 28 3c 6f 6c | 64 20 70 72 65 66 69 78 |Decl(<ol|d prefix|
|000012c0| 3e 2c 3c 6e 65 77 20 70 | 72 65 66 69 78 3e 29 0d |>,<new p|refix>).|
|000012d0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|000012e0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|000012f0| 4e 4b 44 65 63 6c 28 2c | 40 69 6e 73 29 0d 0a 45 |NKDecl(,|@ins)..E|
|00001300| 78 70 61 6e 73 69 6f 6e | 3a 0d 0a 40 69 6e 73 5f |xpansion|:..@ins_|
|00001310| 72 65 6e 74 61 6c 5f 64 | 61 74 65 20 64 61 74 65 |rental_d|ate date|
|00001320| 74 69 6d 65 2c 0d 0a 40 | 69 6e 73 5f 64 75 65 5f |time,..@|ins_due_|
|00001330| 64 61 74 65 20 64 61 74 | 65 74 69 6d 65 2c 2e 2e |date dat|etime,..|
|00001340| 2e 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |.....Ful|l Syntax|
|00001350| 3a 0d 0a 25 43 68 69 6c | 64 4e 4b 44 65 63 6c 28 |:..%Chil|dNKDecl(|
|00001360| 3c 6f 6c 64 20 70 72 65 | 66 69 78 3e 2c 3c 6e 65 |<old pre|fix>,<ne|
|00001370| 77 20 70 72 65 66 69 78 | 3e 2c 3c 73 65 70 61 72 |w prefix|>,<separ|
|00001380| 61 74 6f 72 3e 29 0d 0a | 0d 0a 46 75 6c 6c 20 53 |ator>)..|..Full S|
|00001390| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|000013a0| 25 43 68 69 6c 64 4e 4b | 44 65 63 6c 28 2c 40 69 |%ChildNK|Decl(,@i|
|000013b0| 6e 73 2c 22 2c 20 22 29 | 0d 0a 45 78 70 61 6e 73 |ns,", ")|..Expans|
|000013c0| 69 6f 6e 3a 0d 0a 40 69 | 6e 73 5f 72 65 6e 74 61 |ion:..@i|ns_renta|
|000013d0| 6c 5f 64 61 74 65 20 64 | 61 74 65 74 69 6d 65 2c |l_date d|atetime,|
|000013e0| 0d 0a 40 69 6e 73 5f 64 | 75 65 5f 64 61 74 65 20 |..@ins_d|ue_date |
|000013f0| 64 61 74 65 74 69 6d 65 | 2c 2e 2e 2e 00 25 43 68 |datetime|,....%Ch|
|00001400| 69 6c 64 4e 4b 44 65 63 | 6c 28 40 64 65 6c 2c 40 |ildNKDec|l(@del,@|
|00001410| 69 6e 73 29 00 43 68 69 | 6c 64 4e 4b 00 0e 00 25 |ins).Chi|ldNK...%|
|00001420| 43 68 69 6c 64 4e 4b 28 | 29 00 42 61 73 69 63 20 |ChildNK(|).Basic |
|00001430| 53 79 6e 74 61 78 3a 0d | 0a 25 43 68 69 6c 64 4e |Syntax:.|.%ChildN|
|00001440| 4b 28 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |K()....B|asic Syn|
|00001450| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 43 |tax Exam|ple:..%C|
|00001460| 68 69 6c 64 4e 4b 28 29 | 0d 0a 45 78 70 61 6e 73 |hildNK()|..Expans|
|00001470| 69 6f 6e 3a 0d 0a 72 65 | 6e 74 61 6c 5f 64 61 74 |ion:..re|ntal_dat|
|00001480| 65 2c 20 64 75 65 5f 64 | 61 74 65 2c 2e 2e 2e 0d |e, due_d|ate,....|
|00001490| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 3a 0d |...Full |Syntax:.|
|000014a0| 0a 25 43 68 69 6c 64 4e | 4b 28 3c 73 65 70 61 72 |.%ChildN|K(<separ|
|000014b0| 61 74 6f 72 3e 2c 3c 66 | 75 6e 63 74 69 6f 6e 3e |ator>,<f|unction>|
|000014c0| 2c 3c 70 72 65 66 69 78 | 3e 29 0d 0a 0d 0a 46 75 |,<prefix|>)....Fu|
|000014d0| 6c 6c 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ll Synta|x Exampl|
|000014e0| 65 3a 0d 0a 25 43 68 69 | 6c 64 4e 4b 28 22 20 6f |e:..%Chi|ldNK(" o|
|000014f0| 72 20 22 2c 75 70 64 61 | 74 65 2c 25 43 68 69 6c |r ",upda|te,%Chil|
|00001500| 64 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |d)..Expa|nsion:..|
|00001510| 75 70 64 61 74 65 28 4d | 4f 56 49 45 5f 52 45 4e |update(M|OVIE_REN|
|00001520| 54 41 4c 5f 52 45 43 4f | 52 2e 72 65 6e 74 61 6c |TAL_RECO|R.rental|
|00001530| 5f 64 61 74 65 29 20 6f | 72 0d 0a 75 70 64 61 74 |_date) o|r..updat|
|00001540| 65 28 4d 4f 56 49 45 5f | 52 45 4e 54 41 4c 5f 52 |e(MOVIE_|RENTAL_R|
|00001550| 45 43 4f 52 2e 64 75 65 | 5f 64 61 74 65 29 20 6f |ECOR.due|_date) o|
|00001560| 72 2e 2e 2e 00 25 43 68 | 69 6c 64 4e 4b 28 22 2c |r....%Ch|ildNK(",|
|00001570| 22 2c 2c 40 69 6e 73 29 | 00 4e 6f 74 6e 75 6c 6c |",,@ins)|.Notnull|
|00001580| 46 4b 00 0f 00 25 4e 6f | 74 6e 75 6c 6c 46 4b 28 |FK...%No|tnullFK(|
|00001590| 29 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |).Basic |Syntax:.|
|000015a0| 0a 25 4e 6f 74 6e 75 6c | 6c 46 4b 28 3c 63 68 69 |.%Notnul|lFK(<chi|
|000015b0| 6c 64 20 74 61 62 6c 65 | 3e 2c 3c 6e 6f 74 20 6e |ld table|>,<not n|
|000015c0| 75 6c 6c 20 65 78 70 72 | 65 73 73 69 6f 6e 3e 29 |ull expr|ession>)|
|000015d0| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|000015e0| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 4e 6f 74 6e | Example|:..%Notn|
|000015f0| 75 6c 6c 46 4b 28 25 43 | 68 69 6c 64 2c 22 69 73 |ullFK(%C|hild,"is|
|00001600| 20 6e 6f 74 20 6e 75 6c | 6c 20 61 6e 64 22 29 0d | not nul|l and").|
|00001610| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 4d 4f 56 |.Expansi|on:..MOV|
|00001620| 49 45 5f 52 45 4e 54 41 | 4c 5f 52 45 43 4f 52 2e |IE_RENTA|L_RECOR.|
|00001630| 6d 61 73 74 65 72 5f 6e | 75 6d 62 65 72 20 69 73 |master_n|umber is|
|00001640| 20 6e 6f 74 20 6e 75 6c | 6c 20 61 6e 64 0d 0a 4d | not nul|l and..M|
|00001650| 4f 56 49 45 5f 52 45 4e | 54 41 4c 5f 52 45 43 4f |OVIE_REN|TAL_RECO|
|00001660| 52 2e 6d 6f 76 69 65 5f | 63 6f 70 79 5f 6e 75 6d |R.movie_|copy_num|
|00001670| 62 65 72 20 69 73 20 6e | 6f 74 20 6e 75 6c 6c 20 |ber is n|ot null |
|00001680| 61 6e 64 2e 2e 2e 0d 0a | 0d 0a 46 75 6c 6c 20 53 |and.....|..Full S|
|00001690| 79 6e 74 61 78 3a 0d 0a | 25 4e 6f 74 6e 75 6c 6c |yntax:..|%Notnull|
|000016a0| 46 4b 28 3c 63 68 69 6c | 64 20 74 61 62 6c 65 3e |FK(<chil|d table>|
|000016b0| 2c 3c 6e 6f 74 20 6e 75 | 6c 6c 20 65 78 70 72 65 |,<not nu|ll expre|
|000016c0| 73 73 69 6f 6e 3e 2c 3c | 70 72 65 66 69 78 3e 2c |ssion>,<|prefix>,|
|000016d0| 3c 73 65 70 61 72 61 74 | 6f 72 3e 29 0d 0a 0d 0a |<separat|or>)....|
|000016e0| 46 75 6c 6c 20 53 79 6e | 74 61 78 20 45 78 61 6d |Full Syn|tax Exam|
|000016f0| 70 6c 65 3a 0d 0a 25 4e | 6f 74 6e 75 6c 6c 46 4b |ple:..%N|otnullFK|
|00001700| 28 69 6e 73 65 72 74 65 | 64 2c 22 69 73 20 6e 75 |(inserte|d,"is nu|
|00001710| 6c 6c 22 2c 22 77 68 65 | 72 65 22 2c 22 20 6f 72 |ll","whe|re"," or|
|00001720| 22 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |")..Expa|nsion:..|
|00001730| 77 68 65 72 65 0d 0a 20 | 20 69 6e 73 65 72 74 65 |where.. | inserte|
|00001740| 64 2e 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 20 |d.master|_number |
|00001750| 69 73 20 6e 75 6c 6c 20 | 6f 72 0d 0a 20 20 69 6e |is null |or.. in|
|00001760| 73 65 72 74 65 64 2e 6d | 6f 76 69 65 5f 63 6f 70 |serted.m|ovie_cop|
|00001770| 79 5f 6e 75 6d 62 65 72 | 20 69 73 20 6e 75 6c 6c |y_number| is null|
|00001780| 00 25 4e 6f 74 6e 75 6c | 6c 46 4b 28 25 43 68 69 |.%Notnul|lFK(%Chi|
|00001790| 6c 64 2c 22 69 73 20 6e | 6f 74 20 6e 75 6c 6c 20 |ld,"is n|ot null |
|000017a0| 61 6e 64 22 29 00 43 68 | 69 6c 64 50 61 72 61 6d |and").Ch|ildParam|
|000017b0| 44 65 63 6c 00 10 00 25 | 43 68 69 6c 64 50 61 72 |Decl...%|ChildPar|
|000017c0| 61 6d 44 65 63 6c 28 29 | 00 42 61 73 69 63 20 53 |amDecl()|.Basic S|
|000017d0| 79 6e 74 61 78 3a 0d 0a | 25 43 68 69 6c 64 50 61 |yntax:..|%ChildPa|
|000017e0| 72 61 6d 44 65 63 6c 28 | 3c 6f 6c 64 20 70 72 65 |ramDecl(|<old pre|
|000017f0| 66 69 78 3e 2c 3c 6e 65 | 77 20 70 72 65 66 69 78 |fix>,<ne|w prefix|
|00001800| 3e 29 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |>)....Ba|sic Synt|
|00001810| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 43 68 |ax Examp|le:..%Ch|
|00001820| 69 6c 64 50 61 72 61 6d | 44 65 63 6c 28 2c 40 69 |ildParam|Decl(,@i|
|00001830| 6e 73 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |ns)..Exp|ansion:.|
|00001840| 0a 40 69 6e 73 5f 72 65 | 6e 74 69 6e 67 5f 63 75 |.@ins_re|nting_cu|
|00001850| 73 74 6f 6d 65 72 20 69 | 6e 74 2c 0d 0a 40 69 6e |stomer i|nt,..@in|
|00001860| 73 5f 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 20 |s_master|_number |
|00001870| 69 6e 74 2c 0d 0a 40 69 | 6e 73 5f 6d 6f 76 69 65 |int,..@i|ns_movie|
|00001880| 5f 63 6f 70 79 5f 6e 75 | 6d 62 65 72 20 69 6e 74 |_copy_nu|mber int|
|00001890| 2c 0d 0a 40 69 6e 73 5f | 72 65 6e 74 61 6c 5f 72 |,..@ins_|rental_r|
|000018a0| 65 63 6f 72 64 5f 64 61 | 74 65 20 64 61 74 65 74 |ecord_da|te datet|
|000018b0| 69 6d 65 2c 0d 0a 40 69 | 6e 73 5f 72 65 6e 74 61 |ime,..@i|ns_renta|
|000018c0| 6c 5f 64 61 74 65 20 64 | 61 74 65 74 69 6d 65 0d |l_date d|atetime.|
|000018d0| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 3a 0d |...Full |Syntax:.|
|000018e0| 0a 25 43 68 69 6c 64 50 | 61 72 61 6d 44 65 63 6c |.%ChildP|aramDecl|
|000018f0| 28 3c 6f 6c 64 20 70 72 | 65 66 69 78 3e 2c 3c 6e |(<old pr|efix>,<n|
|00001900| 65 77 20 70 72 65 66 69 | 78 3e 2c 3c 73 65 70 61 |ew prefi|x>,<sepa|
|00001910| 72 61 74 6f 72 3e 29 0d | 0a 0d 0a 46 75 6c 6c 20 |rator>).|...Full |
|00001920| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001930| 0a 25 43 68 69 6c 64 50 | 61 72 61 6d 44 65 63 6c |.%ChildP|aramDecl|
|00001940| 28 2c 40 69 6e 73 2c 22 | 2c 20 22 29 0d 0a 45 78 |(,@ins,"|, ")..Ex|
|00001950| 70 61 6e 73 69 6f 6e 3a | 0d 0a 40 69 6e 73 5f 72 |pansion:|..@ins_r|
|00001960| 65 6e 74 69 6e 67 5f 63 | 75 73 74 6f 6d 65 72 20 |enting_c|ustomer |
|00001970| 69 6e 74 2c 0d 0a 40 69 | 6e 73 5f 6d 61 73 74 65 |int,..@i|ns_maste|
|00001980| 72 5f 6e 75 6d 62 65 72 | 20 69 6e 74 2c 0d 0a 40 |r_number| int,..@|
|00001990| 69 6e 73 5f 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |ins_movi|e_copy_n|
|000019a0| 75 6d 62 65 72 20 69 6e | 74 2c 0d 0a 40 69 6e 73 |umber in|t,..@ins|
|000019b0| 5f 72 65 6e 74 61 6c 5f | 72 65 63 6f 72 64 5f 64 |_rental_|record_d|
|000019c0| 61 74 65 20 64 61 74 65 | 74 69 6d 65 2c 0d 0a 40 |ate date|time,..@|
|000019d0| 69 6e 73 5f 72 65 6e 74 | 61 6c 5f 64 61 74 65 20 |ins_rent|al_date |
|000019e0| 64 61 74 65 74 69 6d 65 | 2c 2e 2e 2e 00 25 43 68 |datetime|,....%Ch|
|000019f0| 69 6c 64 50 61 72 61 6d | 44 65 63 6c 28 40 64 65 |ildParam|Decl(@de|
|00001a00| 6c 2c 40 69 6e 73 29 00 | 50 61 72 65 6e 74 50 61 |l,@ins).|ParentPa|
|00001a10| 72 61 6d 44 65 63 6c 00 | 11 00 25 50 61 72 65 6e |ramDecl.|..%Paren|
|00001a20| 74 50 61 72 61 6d 44 65 | 63 6c 28 29 00 42 61 73 |tParamDe|cl().Bas|
|00001a30| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 50 61 72 |ic Synta|x:..%Par|
|00001a40| 65 6e 74 50 61 72 61 6d | 44 65 63 6c 28 3c 6f 6c |entParam|Decl(<ol|
|00001a50| 64 20 70 72 65 66 69 78 | 3e 2c 3c 6e 65 77 20 70 |d prefix|>,<new p|
|00001a60| 72 65 66 69 78 3e 29 0d | 0a 0d 0a 42 61 73 69 63 |refix>).|...Basic|
|00001a70| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001a80| 0d 0a 25 50 61 72 65 6e | 74 50 61 72 61 6d 44 65 |..%Paren|tParamDe|
|00001a90| 63 6c 28 2c 40 69 6e 73 | 29 0d 0a 45 78 70 61 6e |cl(,@ins|)..Expan|
|00001aa0| 73 69 6f 6e 3a 0d 0a 40 | 69 6e 73 5f 6d 61 73 74 |sion:..@|ins_mast|
|00001ab0| 65 72 5f 6e 75 6d 62 65 | 72 20 69 6e 74 2c 0d 0a |er_numbe|r int,..|
|00001ac0| 40 69 6e 73 5f 6d 6f 76 | 69 65 5f 63 6f 70 79 5f |@ins_mov|ie_copy_|
|00001ad0| 6e 75 6d 62 65 72 20 69 | 6e 74 2c 0d 0a 40 69 6e |number i|nt,..@in|
|00001ae0| 73 5f 67 65 6e 65 72 61 | 6c 5f 63 6f 6e 64 69 74 |s_genera|l_condit|
|00001af0| 69 6f 6e 20 76 61 72 63 | 68 61 72 28 31 30 29 0d |ion varc|har(10).|
|00001b00| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 3a 0d |...Full |Syntax:.|
|00001b10| 0a 25 50 61 72 65 6e 74 | 50 61 72 61 6d 44 65 63 |.%Parent|ParamDec|
|00001b20| 6c 28 3c 6f 6c 64 20 70 | 72 65 66 69 78 3e 2c 3c |l(<old p|refix>,<|
|00001b30| 6e 65 77 20 70 72 65 66 | 69 78 3e 2c 3c 73 65 70 |new pref|ix>,<sep|
|00001b40| 61 72 61 74 6f 72 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |arator>)|....Full|
|00001b50| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001b60| 0d 0a 25 50 61 72 65 6e | 74 50 61 72 61 6d 44 65 |..%Paren|tParamDe|
|00001b70| 63 6c 28 2c 40 69 6e 73 | 2c 22 2c 20 22 29 0d 0a |cl(,@ins|,", ")..|
|00001b80| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 40 69 6e 73 |Expansio|n:..@ins|
|00001b90| 5f 6d 61 73 74 65 72 5f | 6e 75 6d 62 65 72 20 69 |_master_|number i|
|00001ba0| 6e 74 2c 0d 0a 40 69 6e | 73 5f 6d 6f 76 69 65 5f |nt,..@in|s_movie_|
|00001bb0| 63 6f 70 79 5f 6e 75 6d | 62 65 72 20 69 6e 74 2c |copy_num|ber int,|
|00001bc0| 0d 0a 40 69 6e 73 5f 67 | 65 6e 65 72 61 6c 5f 63 |..@ins_g|eneral_c|
|00001bd0| 6f 6e 64 69 74 69 6f 6e | 20 76 61 72 63 68 61 72 |ondition| varchar|
|00001be0| 28 31 30 29 00 25 50 61 | 72 65 6e 74 50 61 72 61 |(10).%Pa|rentPara|
|00001bf0| 6d 44 65 63 6c 28 40 64 | 65 6c 2c 40 69 6e 73 29 |mDecl(@d|el,@ins)|
|00001c00| 00 00 a5 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+